package com.ruoyi.favorite.domain;

import com.ruoyi.place.domain.Place;
import com.ruoyi.product.domain.Product;
import com.ruoyi.user.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户收藏对象 sys_favorite
 * 
 * @author 张富饶
 * @date 2025-05-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Favorite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 收藏分类 */
    @Excel(name = "收藏分类")
    private String folder;

    /** 场所id */
    @Excel(name = "场所id")
    private String placeId;
//    用户信息
    private User user;
//    产品信息
    private Product product;
//    场所信息
    private Place place;


}
